package cn.xxstudy.blog.dao

import cn.xxstudy.blog.entity.User
import org.springframework.data.jpa.repository.JpaRepository

/**
 * 作者：xinxi on 2020/11/24 22:56
 * 包名：cn.xxstudy.blog.dao
 * TODO：用户表数据处理dao
 */
interface UserRepository : JpaRepository<User, Long> {
    fun findUserByUserNameAndPassword(userName: String, password: String): User?
}